home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 2 / Macwelt DVD 2.cdr / HTML-Tools / macos9 / JChecker 3.0.2 / DTD / XHTML10Frameset.dtd / XHTML10Frameset.dtd
Encoding:
Text File  |  2001-10-14  |  32.0 KB  |  1,234 lines  |  [TEXT/JED3]

  1.  
  2.  
  3. <!--
  4.    Extensible HTML version 1.0 Frameset DTD
  5.  
  6.    This is the same as HTML 4 Frameset except for
  7.    changes due to the differences between XML and SGML.
  8.  
  9.    Namespace = http://www.w3.org/1999/xhtml
  10.  
  11.    For further information, see: http://www.w3.org/TR/xhtml1
  12.  
  13.    Copyright (c) 1998-2001 W3C (MIT, INRIA, Keio),
  14.    All Rights Reserved. 
  15.  
  16.    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
  17.  
  18.    PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  19.    SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
  20.  
  21.    $Revision: 1.6 $
  22.    $Date: 2001/10/04 16:51:23 $
  23.  
  24. -->
  25.  
  26. <!--================ Character mnemonic entities =========================-->
  27.  
  28. <!ENTITY % HTMLlat1 PUBLIC
  29.    "-//W3C//ENTITIES Latin 1 for XHTML//EN"
  30.    "xhtml-lat1.ent">
  31. %HTMLlat1;
  32.  
  33. <!ENTITY % HTMLsymbol PUBLIC
  34.    "-//W3C//ENTITIES Symbols for XHTML//EN"
  35.    "xhtml-symbol.ent">
  36. %HTMLsymbol;
  37.  
  38. <!ENTITY % HTMLspecial PUBLIC
  39.    "-//W3C//ENTITIES Special for XHTML//EN"
  40.    "xhtml-special.ent">
  41. %HTMLspecial;
  42.  
  43. <!--================== Imported Names ====================================-->
  44.  
  45. <!ENTITY % ContentType "CDATA">
  46.     <!-- media type, as per [RFC2045] -->
  47.  
  48. <!ENTITY % ContentTypes "CDATA">
  49.     <!-- comma-separated list of media types, as per [RFC2045] -->
  50.  
  51. <!ENTITY % Charset "CDATA">
  52.     <!-- a character encoding, as per [RFC2045] -->
  53.  
  54. <!ENTITY % Charsets "CDATA">
  55.     <!-- a space separated list of character encodings, as per [RFC2045] -->
  56.  
  57. <!ENTITY % LanguageCode "NMTOKEN">
  58.     <!-- a language code, as per [RFC3066] -->
  59.  
  60. <!ENTITY % Character "CDATA">
  61.     <!-- a single character from [ISO10646] -->
  62.  
  63. <!ENTITY % Number "CDATA">
  64.     <!-- one or more digits -->
  65.  
  66. <!ENTITY % LinkTypes "CDATA">
  67.     <!-- space-separated list of link types -->
  68.  
  69. <!ENTITY % MediaDesc "CDATA">
  70.     <!-- single or comma-separated list of media descriptors -->
  71.  
  72. <!ENTITY % URI "CDATA">
  73.     <!-- a Uniform Resource Identifier, see [RFC2396] -->
  74.  
  75. <!ENTITY % UriList "CDATA">
  76.     <!-- a space separated list of Uniform Resource Identifiers -->
  77.  
  78. <!ENTITY % Datetime "CDATA">
  79.     <!-- date and time information. ISO date format -->
  80.  
  81. <!ENTITY % Script "CDATA">
  82.     <!-- script expression -->
  83.  
  84. <!ENTITY % StyleSheet "CDATA">
  85.     <!-- style sheet data -->
  86.  
  87. <!ENTITY % Text "CDATA">
  88.     <!-- used for titles etc. -->
  89.  
  90. <!ENTITY % FrameTarget "NMTOKEN">
  91.     <!-- render in this frame -->
  92.  
  93. <!ENTITY % Length "CDATA">
  94.     <!-- nn for pixels or nn% for percentage length -->
  95.  
  96. <!ENTITY % MultiLength "CDATA">
  97.     <!-- pixel, percentage, or relative -->
  98.  
  99. <!ENTITY % MultiLengths "CDATA">
  100.     <!-- comma-separated list of MultiLength -->
  101.  
  102. <!ENTITY % Pixels "CDATA">
  103.     <!-- integer representing length in pixels -->
  104.  
  105. <!-- these are used for image maps -->
  106.  
  107. <!ENTITY % Shape "(rect|circle|poly|default)">
  108.  
  109. <!ENTITY % Coords "CDATA">
  110.     <!-- comma separated list of lengths -->
  111.  
  112. <!-- used for object, applet, img, input and iframe -->
  113. <!ENTITY % ImgAlign "(top|middle|bottom|left|right)">
  114.  
  115. <!-- a color using sRGB: #RRGGBB as Hex values -->
  116. <!ENTITY % Color "CDATA">
  117.  
  118. <!-- There are also 16 widely known color names with their sRGB values:
  119.  
  120.     Black  = #000000    Green  = #008000
  121.     Silver = #C0C0C0    Lime   = #00FF00
  122.     Gray   = #808080    Olive  = #808000
  123.     White  = #FFFFFF    Yellow = #FFFF00
  124.     Maroon = #800000    Navy   = #000080
  125.     Red    = #FF0000    Blue   = #0000FF
  126.     Purple = #800080    Teal   = #008080
  127.     Fuchsia= #FF00FF    Aqua   = #00FFFF
  128. -->
  129.  
  130. <!--=================== Generic Attributes ===============================-->
  131.  
  132. <!-- core attributes common to most elements
  133.   id       document-wide unique id
  134.   class    space separated list of classes
  135.   style    associated style info
  136.   title    advisory title/amplification
  137. -->
  138. <!ENTITY % coreattrs
  139.  "id          ID             #IMPLIED
  140.   class       CDATA          #IMPLIED
  141.   style       %StyleSheet;   #IMPLIED
  142.   title       %Text;         #IMPLIED"
  143.   >
  144.  
  145. <!-- internationalization attributes
  146.   lang        language code (backwards compatible)
  147.   xml:lang    language code (as per XML 1.0 spec)
  148.   dir         direction for weak/neutral text
  149. -->
  150. <!ENTITY % i18n
  151.  "lang        %LanguageCode; #IMPLIED
  152.   xml:lang    %LanguageCode; #IMPLIED
  153.   dir         (ltr|rtl)      #IMPLIED"
  154.   >
  155.  
  156. <!-- attributes for common UI events
  157.   onclick     a pointer button was clicked
  158.   ondblclick  a pointer button was double clicked
  159.   onmousedown a pointer button was pressed down
  160.   onmouseup   a pointer button was released
  161.   onmousemove a pointer was moved onto the element
  162.   onmouseout  a pointer was moved away from the element
  163.   onkeypress  a key was pressed and released
  164.   onkeydown   a key was pressed down
  165.   onkeyup     a key was released
  166. -->
  167. <!ENTITY % events
  168.  "onclick     %Script;       #IMPLIED
  169.   ondblclick  %Script;       #IMPLIED
  170.   onmousedown %Script;       #IMPLIED
  171.   onmouseup   %Script;       #IMPLIED
  172.   onmouseover %Script;       #IMPLIED
  173.   onmousemove %Script;       #IMPLIED
  174.   onmouseout  %Script;       #IMPLIED
  175.   onkeypress  %Script;       #IMPLIED
  176.   onkeydown   %Script;       #IMPLIED
  177.   onkeyup     %Script;       #IMPLIED"
  178.   >
  179.  
  180. <!-- attributes for elements that can get the focus
  181.   accesskey   accessibility key character
  182.   tabindex    position in tabbing order
  183.   onfocus     the element got the focus
  184.   onblur      the element lost the focus
  185. -->
  186. <!ENTITY % focus
  187.  "accesskey   %Character;    #IMPLIED
  188.   tabindex    %Number;       #IMPLIED
  189.   onfocus     %Script;       #IMPLIED
  190.   onblur      %Script;       #IMPLIED"
  191.   >
  192.  
  193. <!ENTITY % attrs "%coreattrs; %i18n; %events;">
  194.  
  195. <!-- text alignment for p, div, h1-h6. The default is
  196.      align="left" for ltr headings, "right" for rtl -->
  197.  
  198. <!ENTITY % TextAlign "align (left|center|right|justify) #IMPLIED">
  199.  
  200. <!--=================== Text Elements ====================================-->
  201.  
  202. <!ENTITY % special.extra
  203.    "object | applet | img | map | iframe">
  204.     
  205. <!ENTITY % special.basic
  206.     "br | span | bdo">
  207.  
  208. <!ENTITY % special
  209.    "%special.basic; | %special.extra;">
  210.  
  211. <!ENTITY % fontstyle.extra "big | small | font | basefont">
  212.  
  213. <!ENTITY % fontstyle.basic "tt | i | b | u
  214.                       | s | strike ">
  215.  
  216. <!ENTITY % fontstyle "%fontstyle.basic; | %fontstyle.extra;">
  217.  
  218. <!ENTITY % phrase.extra "sub | sup">
  219. <!ENTITY % phrase.basic "em | strong | dfn | code | q |
  220.                    samp | kbd | var | cite | abbr | acronym">
  221.  
  222. <!ENTITY % phrase "%phrase.basic; | %phrase.extra;">
  223.  
  224. <!ENTITY % inline.forms "input | select | textarea | label | button">
  225.  
  226. <!-- these can occur at block or inline level -->
  227. <!ENTITY % misc "ins | del | script | noscript">
  228.  
  229. <!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">
  230.  
  231. <!-- %Inline; covers inline or "text-level" elements -->
  232. <!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*">
  233.  
  234. <!--================== Block level elements ==============================-->
  235.  
  236. <!ENTITY % heading "h1|h2|h3|h4|h5|h6">
  237. <!ENTITY % lists "ul | ol | dl | menu | dir">
  238. <!ENTITY % blocktext "pre | hr | blockquote | address | center">
  239.  
  240. <!ENTITY % block
  241.     "p | %heading; | div | %lists; | %blocktext; | isindex | fieldset | table">
  242.  
  243. <!-- %Flow; mixes Block and Inline and is used for list items etc. -->
  244. <!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">
  245.  
  246. <!--================== Content models for exclusions =====================-->
  247.  
  248. <!-- a elements use %Inline; excluding a -->
  249.  
  250. <!ENTITY % a.content
  251.    "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc;)*">
  252.  
  253. <!-- pre uses %Inline excluding img, object, applet, big, small,
  254.      sub, sup, font, or basefont -->
  255.  
  256. <!ENTITY % pre.content
  257.    "(#PCDATA | a | %special.basic; | %fontstyle.basic; | %phrase.basic; |
  258.        %inline.forms; | %misc;)*">
  259.  
  260.  
  261. <!-- form uses %Flow; excluding form -->
  262.  
  263. <!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*">
  264.  
  265. <!-- button uses %Flow; but excludes a, form, form controls, iframe -->
  266.  
  267. <!ENTITY % button.content
  268.    "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |
  269.       table | br | span | bdo | object | applet | img | map |
  270.       %fontstyle; | %phrase; | %misc;)*">
  271.  
  272. <!--================ Document Structure ==================================-->
  273.  
  274. <!-- the namespace URI designates the document profile -->
  275.  
  276. <!ELEMENT html (head, frameset)>
  277. <!ATTLIST html
  278.   %i18n;
  279.   id          ID             #IMPLIED
  280.   xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
  281.   >
  282.  
  283. <!--================ Document Head =======================================-->
  284.  
  285. <!ENTITY % head.misc "(script|style|meta|link|object|isindex)*">
  286.  
  287. <!-- content model is %head.misc; combined with a single
  288.      title and an optional base element in any order -->
  289.  
  290. <!ELEMENT head (%head.misc;,
  291.      ((title, %head.misc;, (base, %head.misc;)?) |
  292.       (base, %head.misc;, (title, %head.misc;))))>
  293.  
  294. <!ATTLIST head
  295.   %i18n;
  296.   id          ID             #IMPLIED
  297.   profile     %URI;          #IMPLIED
  298.   >
  299.  
  300. <!-- The title element is not considered part of the flow of text.
  301.        It should be displayed, for example as the page header or
  302.        window title. Exactly one title is required per document.
  303.     -->
  304. <!ELEMENT title (#PCDATA)>
  305. <!ATTLIST title 
  306.   %i18n;
  307.   id          ID             #IMPLIED
  308.   >
  309.  
  310. <!-- document base URI -->
  311.  
  312. <!ELEMENT base EMPTY>
  313. <!ATTLIST base
  314.   id          ID             #IMPLIED
  315.   href        %URI;          #IMPLIED
  316.   target      %FrameTarget;  #IMPLIED
  317.   >
  318.  
  319. <!-- generic metainformation -->
  320. <!ELEMENT meta EMPTY>
  321. <!ATTLIST meta
  322.   %i18n;
  323.   id          ID             #IMPLIED
  324.   http-equiv  CDATA          #IMPLIED
  325.   name        CDATA          #IMPLIED
  326.   content     CDATA          #REQUIRED
  327.   scheme      CDATA          #IMPLIED
  328.   >
  329.  
  330. <!--
  331.   Relationship values can be used in principle:
  332.  
  333.    a) for document specific toolbars/menus when used
  334.       with the link element in document head e.g.
  335.         start, contents, previous, next, index, end, help
  336.    b) to link to a separate style sheet (rel="stylesheet")
  337.    c) to make a link to a script (rel="script")
  338.    d) by stylesheets to control how collections of
  339.       html nodes are rendered into printed documents
  340.    e) to make a link to a printable version of this document
  341.       e.g. a PostScript or PDF version (rel="alternate" media="print")
  342. -->
  343.  
  344. <!ELEMENT link EMPTY>
  345. <!ATTLIST link
  346.   %attrs;
  347.   charset     %Charset;      #IMPLIED
  348.   href        %URI;          #IMPLIED
  349.   hreflang    %LanguageCode; #IMPLIED
  350.   type        %ContentType;  #IMPLIED
  351.   rel         %LinkTypes;    #IMPLIED
  352.   rev         %LinkTypes;    #IMPLIED
  353.   media       %MediaDesc;    #IMPLIED
  354.   target      %FrameTarget;  #IMPLIED
  355.   >
  356.  
  357. <!-- style info, which may include CDATA sections -->
  358. <!ELEMENT style (#PCDATA)>
  359. <!ATTLIST style
  360.   %i18n;
  361.   id          ID             #IMPLIED
  362.   type        %ContentType;  #REQUIRED
  363.   media       %MediaDesc;    #IMPLIED
  364.   title       %Text;         #IMPLIED
  365.   xml:space   (preserve)     #FIXED 'preserve'
  366.   >
  367.  
  368. <!-- script statements, which may include CDATA sections -->
  369. <!ELEMENT script (#PCDATA)>
  370. <!ATTLIST script
  371.   id          ID             #IMPLIED
  372.   charset     %Charset;      #IMPLIED
  373.   type        %ContentType;  #REQUIRED
  374.   language    CDATA          #IMPLIED
  375.   src         %URI;          #IMPLIED
  376.   defer       (defer)        #IMPLIED
  377.   xml:space   (preserve)     #FIXED 'preserve'
  378.   >
  379.  
  380. <!-- alternate content container for non script-based rendering -->
  381.  
  382. <!ELEMENT noscript %Flow;>
  383. <!ATTLIST noscript
  384.   %attrs;
  385.   >
  386.  
  387. <!--======================= Frames =======================================-->
  388.  
  389. <!-- only one noframes element permitted per document -->
  390.  
  391. <!ELEMENT frameset (frameset|frame|noframes)*>
  392. <!ATTLIST frameset
  393.   %coreattrs;
  394.   rows        %MultiLengths; #IMPLIED
  395.   cols        %MultiLengths; #IMPLIED
  396.   onload      %Script;       #IMPLIED
  397.   onunload    %Script;       #IMPLIED
  398.   >
  399.  
  400. <!-- reserved frame names start with "_" otherwise starts with letter -->
  401.  
  402. <!-- tiled window within frameset -->
  403.  
  404. <!ELEMENT frame EMPTY>
  405. <!ATTLIST frame
  406.   %coreattrs;
  407.   longdesc    %URI;          #IMPLIED
  408.   name        NMTOKEN        #IMPLIED
  409.   src         %URI;          #IMPLIED
  410.   frameborder (1|0)          "1"
  411.   marginwidth %Pixels;       #IMPLIED
  412.   marginheight %Pixels;      #IMPLIED
  413.   noresize    (noresize)     #IMPLIED
  414.   scrolling   (yes|no|auto)  "auto"
  415.   >
  416.  
  417. <!-- inline subwindow -->
  418.  
  419. <!ELEMENT iframe %Flow;>
  420. <!ATTLIST iframe
  421.   %coreattrs;
  422.   longdesc    %URI;          #IMPLIED
  423.   name        NMTOKEN        #IMPLIED
  424.   src         %URI;          #IMPLIED
  425.   frameborder (1|0)          "1"
  426.   marginwidth %Pixels;       #IMPLIED
  427.   marginheight %Pixels;      #IMPLIED
  428.   scrolling   (yes|no|auto)  "auto"
  429.   align       %ImgAlign;     #IMPLIED
  430.   height      %Length;       #IMPLIED
  431.   width       %Length;       #IMPLIED
  432.   >
  433.  
  434. <!-- alternate content container for non frame-based rendering -->
  435.  
  436. <!ELEMENT noframes (body)>
  437. <!ATTLIST noframes
  438.   %attrs;
  439.   >
  440.  
  441. <!--=================== Document Body ====================================-->
  442.  
  443. <!ELEMENT body %Flow;>
  444. <!ATTLIST body
  445.   %attrs;
  446.   onload      %Script;       #IMPLIED
  447.   onunload    %Script;       #IMPLIED
  448.   background  %URI;          #IMPLIED
  449.   bgcolor     %Color;        #IMPLIED
  450.   text        %Color;        #IMPLIED
  451.   link        %Color;        #IMPLIED
  452.   vlink       %Color;        #IMPLIED
  453.   alink       %Color;        #IMPLIED
  454.   >
  455.  
  456. <!ELEMENT div %Flow;>  <!-- generic language/style container -->
  457. <!ATTLIST div
  458.   %attrs;
  459.   %TextAlign;
  460.   >
  461.  
  462. <!--=================== Paragraphs =======================================-->
  463.  
  464. <!ELEMENT p %Inline;>
  465. <!ATTLIST p
  466.   %attrs;
  467.   %TextAlign;
  468.   >
  469.  
  470. <!--=================== Headings =========================================-->
  471.  
  472. <!--
  473.   There are six levels of headings from h1 (the most important)
  474.   to h6 (the least important).
  475. -->
  476.  
  477. <!ELEMENT h1  %Inline;>
  478. <!ATTLIST h1
  479.   %attrs;
  480.   %TextAlign;
  481.   >
  482.  
  483. <!ELEMENT h2 %Inline;>
  484. <!ATTLIST h2
  485.   %attrs;
  486.   %TextAlign;
  487.   >
  488.  
  489. <!ELEMENT h3 %Inline;>
  490. <!ATTLIST h3
  491.   %attrs;
  492.   %TextAlign;
  493.   >
  494.  
  495. <!ELEMENT h4 %Inline;>
  496. <!ATTLIST h4
  497.   %attrs;
  498.   %TextAlign;
  499.   >
  500.  
  501. <!ELEMENT h5 %Inline;>
  502. <!ATTLIST h5
  503.   %attrs;
  504.   %TextAlign;
  505.   >
  506.  
  507. <!ELEMENT h6 %Inline;>
  508. <!ATTLIST h6
  509.   %attrs;
  510.   %TextAlign;
  511.   >
  512.  
  513. <!--=================== Lists ============================================-->
  514.  
  515. <!-- Unordered list bullet styles -->
  516.  
  517. <!ENTITY % ULStyle "(disc|square|circle)">
  518.  
  519. <!-- Unordered list -->
  520.  
  521. <!ELEMENT ul (li)+>
  522. <!ATTLIST ul
  523.   %attrs;
  524.   type        %ULStyle;     #IMPLIED
  525.   compact     (compact)     #IMPLIED
  526.   >
  527.  
  528. <!-- Ordered list numbering style
  529.  
  530.     1   arabic numbers      1, 2, 3, ...
  531.     a   lower alpha         a, b, c, ...
  532.     A   upper alpha         A, B, C, ...
  533.     i   lower roman         i, ii, iii, ...
  534.     I   upper roman         I, II, III, ...
  535.  
  536.     The style is applied to the sequence number which by default
  537.     is reset to 1 for the first list item in an ordered list.
  538. -->
  539. <!ENTITY % OLStyle "CDATA">
  540.  
  541. <!-- Ordered (numbered) list -->
  542.  
  543. <!ELEMENT ol (li)+>
  544. <!ATTLIST ol
  545.   %attrs;
  546.   type        %OLStyle;      #IMPLIED
  547.   compact     (compact)      #IMPLIED
  548.   start       %Number;       #IMPLIED
  549.   >
  550.  
  551. <!-- single column list (DEPRECATED) --> 
  552. <!ELEMENT menu (li)+>
  553. <!ATTLIST menu
  554.   %attrs;
  555.   compact     (compact)     #IMPLIED
  556.   >
  557.  
  558. <!-- multiple column list (DEPRECATED) --> 
  559. <!ELEMENT dir (li)+>
  560. <!ATTLIST dir
  561.   %attrs;
  562.   compact     (compact)     #IMPLIED
  563.   >
  564.  
  565. <!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->
  566. <!ENTITY % LIStyle "CDATA">
  567.  
  568. <!-- list item -->
  569.  
  570. <!ELEMENT li %Flow;>
  571. <!ATTLIST li
  572.   %attrs;
  573.   type        %LIStyle;      #IMPLIED
  574.   value       %Number;       #IMPLIED
  575.   >
  576.  
  577. <!-- definition lists - dt for term, dd for its definition -->
  578.  
  579. <!ELEMENT dl (dt|dd)+>
  580. <!ATTLIST dl
  581.   %attrs;
  582.   compact     (compact)      #IMPLIED
  583.   >
  584.  
  585. <!ELEMENT dt %Inline;>
  586. <!ATTLIST dt
  587.   %attrs;
  588.   >
  589.  
  590. <!ELEMENT dd %Flow;>
  591. <!ATTLIST dd
  592.   %attrs;
  593.   >
  594.  
  595. <!--=================== Address ==========================================-->
  596.  
  597. <!-- information on author -->
  598.  
  599. <!ELEMENT address %Inline;>
  600. <!ATTLIST address
  601.   %attrs;
  602.   >
  603.  
  604. <!--=================== Horizontal Rule ==================================-->
  605.  
  606. <!ELEMENT hr EMPTY>
  607. <!ATTLIST hr
  608.   %attrs;
  609.   align       (left|center|right) #IMPLIED
  610.   noshade     (noshade)      #IMPLIED
  611.   size        %Pixels;       #IMPLIED
  612.   width       %Length;       #IMPLIED
  613.   >
  614.  
  615. <!--=================== Preformatted Text ================================-->
  616.  
  617. <!-- content is %Inline; excluding 
  618.         "img|object|applet|big|small|sub|sup|font|basefont" -->
  619.  
  620. <!ELEMENT pre %pre.content;>
  621. <!ATTLIST pre
  622.   %attrs;
  623.   width       %Number;      #IMPLIED
  624.   xml:space   (preserve)    #FIXED 'preserve'
  625.   >
  626.  
  627. <!--=================== Block-like Quotes ================================-->
  628.  
  629. <!ELEMENT blockquote %Flow;>
  630. <!ATTLIST blockquote
  631.   %attrs;
  632.   cite        %URI;          #IMPLIED
  633.   >
  634.  
  635. <!--=================== Text alignment ===================================-->
  636.  
  637. <!-- center content -->
  638. <!ELEMENT center %Flow;>
  639. <!ATTLIST center
  640.   %attrs;
  641.   >
  642.  
  643. <!--=================== Inserted/Deleted Text ============================-->
  644.  
  645.  
  646. <!--
  647.   ins/del are allowed in block and inline content, but its
  648.   inappropriate to include block content within an ins element
  649.   occurring in inline content.
  650. -->
  651. <!ELEMENT ins %Flow;>
  652. <!ATTLIST ins
  653.   %attrs;
  654.   cite        %URI;          #IMPLIED
  655.   datetime    %Datetime;     #IMPLIED
  656.   >
  657.  
  658. <!ELEMENT del %Flow;>
  659. <!ATTLIST del
  660.   %attrs;
  661.   cite        %URI;          #IMPLIED
  662.   datetime    %Datetime;     #IMPLIED
  663.   >
  664.  
  665. <!--================== The Anchor Element ================================-->
  666.  
  667. <!-- content is %Inline; except that anchors shouldn't be nested -->
  668.  
  669. <!ELEMENT a %a.content;>
  670. <!ATTLIST a
  671.   %attrs;
  672.   %focus;
  673.   charset     %Charset;      #IMPLIED
  674.   type        %ContentType;  #IMPLIED
  675.   name        NMTOKEN        #IMPLIED
  676.   href        %URI;          #IMPLIED
  677.   hreflang    %LanguageCode; #IMPLIED
  678.   rel         %LinkTypes;    #IMPLIED
  679.   rev         %LinkTypes;    #IMPLIED
  680.   shape       %Shape;        "rect"
  681.   coords      %Coords;       #IMPLIED
  682.   target      %FrameTarget;  #IMPLIED
  683.   >
  684.  
  685. <!--===================== Inline Elements ================================-->
  686.  
  687. <!ELEMENT span %Inline;> <!-- generic language/style container -->
  688. <!ATTLIST span
  689.   %attrs;
  690.   >
  691.  
  692. <!ELEMENT bdo %Inline;>  <!-- I18N BiDi over-ride -->
  693. <!ATTLIST bdo
  694.   %coreattrs;
  695.   %events;
  696.   lang        %LanguageCode; #IMPLIED
  697.   xml:lang    %LanguageCode; #IMPLIED
  698.   dir         (ltr|rtl)      #REQUIRED
  699.   >
  700.  
  701. <!ELEMENT br EMPTY>   <!-- forced line break -->
  702. <!ATTLIST br
  703.   %coreattrs;
  704.   clear       (left|all|right|none) "none"
  705.   >
  706.  
  707. <!ELEMENT em %Inline;>   <!-- emphasis -->
  708. <!ATTLIST em %attrs;>
  709.  
  710. <!ELEMENT strong %Inline;>   <!-- strong emphasis -->
  711. <!ATTLIST strong %attrs;>
  712.  
  713. <!ELEMENT dfn %Inline;>   <!-- definitional -->
  714. <!ATTLIST dfn %attrs;>
  715.  
  716. <!ELEMENT code %Inline;>   <!-- program code -->
  717. <!ATTLIST code %attrs;>
  718.  
  719. <!ELEMENT samp %Inline;>   <!-- sample -->
  720. <!ATTLIST samp %attrs;>
  721.  
  722. <!ELEMENT kbd %Inline;>  <!-- something user would type -->
  723. <!ATTLIST kbd %attrs;>
  724.  
  725. <!ELEMENT var %Inline;>   <!-- variable -->
  726. <!ATTLIST var %attrs;>
  727.  
  728. <!ELEMENT cite %Inline;>   <!-- citation -->
  729. <!ATTLIST cite %attrs;>
  730.  
  731. <!ELEMENT abbr %Inline;>   <!-- abbreviation -->
  732. <!ATTLIST abbr %attrs;>
  733.  
  734. <!ELEMENT acronym %Inline;>   <!-- acronym -->
  735. <!ATTLIST acronym %attrs;>
  736.  
  737. <!ELEMENT q %Inline;>   <!-- inlined quote -->
  738. <!ATTLIST q
  739.   %attrs;
  740.   cite        %URI;          #IMPLIED
  741.   >
  742.  
  743. <!ELEMENT sub %Inline;> <!-- subscript -->
  744. <!ATTLIST sub %attrs;>
  745.  
  746. <!ELEMENT sup %Inline;> <!-- superscript -->
  747. <!ATTLIST sup %attrs;>
  748.  
  749. <!ELEMENT tt %Inline;>   <!-- fixed pitch font -->
  750. <!ATTLIST tt %attrs;>
  751.  
  752. <!ELEMENT i %Inline;>   <!-- italic font -->
  753. <!ATTLIST i %attrs;>
  754.  
  755. <!ELEMENT b %Inline;>   <!-- bold font -->
  756. <!ATTLIST b %attrs;>
  757.  
  758. <!ELEMENT big %Inline;>   <!-- bigger font -->
  759. <!ATTLIST big %attrs;>
  760.  
  761. <!ELEMENT small %Inline;>   <!-- smaller font -->
  762. <!ATTLIST small %attrs;>
  763.  
  764. <!ELEMENT u %Inline;>   <!-- underline -->
  765. <!ATTLIST u %attrs;>
  766.  
  767. <!ELEMENT s %Inline;>   <!-- strike-through -->
  768. <!ATTLIST s %attrs;>
  769.  
  770. <!ELEMENT strike %Inline;>   <!-- strike-through -->
  771. <!ATTLIST strike %attrs;>
  772.  
  773. <!ELEMENT basefont EMPTY>  <!-- base font size -->
  774. <!ATTLIST basefont
  775.   id          ID             #IMPLIED
  776.   size        CDATA          #REQUIRED
  777.   color       %Color;        #IMPLIED
  778.   face        CDATA          #IMPLIED
  779.   >
  780.  
  781. <!ELEMENT font %Inline;> <!-- local change to font -->
  782. <!ATTLIST font
  783.   %coreattrs;
  784.   %i18n;
  785.   size        CDATA          #IMPLIED
  786.   color       %Color;        #IMPLIED
  787.   face        CDATA          #IMPLIED
  788.   >
  789.  
  790. <!--==================== Object ======================================-->
  791. <!--
  792.   object is used to embed objects as part of HTML pages.
  793.   param elements should precede other content. Parameters
  794.   can also be expressed as attribute/value pairs on the
  795.   object element itself when brevity is desired.
  796. -->
  797.  
  798. <!ELEMENT object (#PCDATA | param | %block; | form |%inline; | %misc;)*>
  799. <!ATTLIST object
  800.   %attrs;
  801.   declare     (declare)      #IMPLIED
  802.   classid     %URI;          #IMPLIED
  803.   codebase    %URI;          #IMPLIED
  804.   data        %URI;          #IMPLIED
  805.   type        %ContentType;  #IMPLIED
  806.   codetype    %ContentType;  #IMPLIED
  807.   archive     %UriList;      #IMPLIED
  808.   standby     %Text;         #IMPLIED
  809.   height      %Length;       #IMPLIED
  810.   width       %Length;       #IMPLIED
  811.   usemap      %URI;          #IMPLIED
  812.   name        NMTOKEN        #IMPLIED
  813.   tabindex    %Number;       #IMPLIED
  814.   align       %ImgAlign;     #IMPLIED
  815.   border      %Pixels;       #IMPLIED
  816.   hspace      %Pixels;       #IMPLIED
  817.   vspace      %Pixels;       #IMPLIED
  818.   >
  819.  
  820. <!--
  821.   param is used to supply a named property value.
  822.   In XML it would seem natural to follow RDF and support an
  823.   abbreviated syntax where the param elements are replaced
  824.   by attribute value pairs on the object start tag.
  825. -->
  826. <!ELEMENT param EMPTY>
  827. <!ATTLIST param
  828.   id          ID             #IMPLIED
  829.   name        CDATA          #REQUIRED
  830.   value       CDATA          #IMPLIED
  831.   valuetype   (data|ref|object) "data"
  832.   type        %ContentType;  #IMPLIED
  833.   >
  834.  
  835. <!--=================== Java applet ==================================-->
  836. <!--
  837.   One of code or object attributes must be present.
  838.   Place param elements before other content.
  839. -->
  840. <!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>
  841. <!ATTLIST applet
  842.   %coreattrs;
  843.   codebase    %URI;          #IMPLIED
  844.   archive     CDATA          #IMPLIED
  845.   code        CDATA          #IMPLIED
  846.   object      CDATA          #IMPLIED
  847.   alt         %Text;         #IMPLIED
  848.   name        NMTOKEN        #IMPLIED
  849.   width       %Length;       #REQUIRED
  850.   height      %Length;       #REQUIRED
  851.   align       %ImgAlign;     #IMPLIED
  852.   hspace      %Pixels;       #IMPLIED
  853.   vspace      %Pixels;       #IMPLIED
  854.   >
  855.  
  856. <!--=================== Images ===========================================-->
  857.  
  858. <!--
  859.    To avoid accessibility problems for people who aren't
  860.    able to see the image, you should provide a text
  861.    description using the alt and longdesc attributes.
  862.    In addition, avoid the use of server-side image maps.
  863. -->
  864.  
  865. <!ELEMENT img EMPTY>
  866. <!ATTLIST img
  867.   %attrs;
  868.   src         %URI;          #REQUIRED
  869.   alt         %Text;         #REQUIRED
  870.   name        NMTOKEN        #IMPLIED
  871.   longdesc    %URI;          #IMPLIED
  872.   height      %Length;       #IMPLIED
  873.   width       %Length;       #IMPLIED
  874.   usemap      %URI;          #IMPLIED
  875.   ismap       (ismap)        #IMPLIED
  876.   align       %ImgAlign;     #IMPLIED
  877.   border      %Pixels;       #IMPLIED
  878.   hspace      %Pixels;       #IMPLIED
  879.   vspace      %Pixels;       #IMPLIED
  880.   >
  881.  
  882. <!-- usemap points to a map element which may be in this document
  883.   or an external document, although the latter is not widely supported -->
  884.  
  885. <!--================== Client-side image maps ============================-->
  886.  
  887. <!-- These can be placed in the same document or grouped in a
  888.      separate document although this isn't yet widely supported -->
  889.  
  890. <!ELEMENT map ((%block; | form | %misc;)+ | area+)>
  891. <!ATTLIST map
  892.   %i18n;
  893.   %events;
  894.   id          ID             #REQUIRED
  895.   class       CDATA          #IMPLIED
  896.   style       %StyleSheet;   #IMPLIED
  897.   title       %Text;         #IMPLIED
  898.   name        NMTOKEN        #IMPLIED
  899.   >
  900.  
  901. <!ELEMENT area EMPTY>
  902. <!ATTLIST area
  903.   %attrs;
  904.   %focus;
  905.   shape       %Shape;        "rect"
  906.   coords      %Coords;       #IMPLIED
  907.   href        %URI;          #IMPLIED
  908.   nohref      (nohref)       #IMPLIED
  909.   alt         %Text;         #REQUIRED
  910.   target      %FrameTarget;  #IMPLIED
  911.   >
  912.  
  913. <!--================ Forms ===============================================-->
  914.  
  915. <!ELEMENT form %form.content;>   <!-- forms shouldn't be nested -->
  916.  
  917. <!ATTLIST form
  918.   %attrs;
  919.   action      %URI;          #REQUIRED
  920.   method      (get|post)     "get"
  921.   name        NMTOKEN        #IMPLIED
  922.   enctype     %ContentType;  "application/x-www-form-urlencoded"
  923.   onsubmit    %Script;       #IMPLIED
  924.   onreset     %Script;       #IMPLIED
  925.   accept      %ContentTypes; #IMPLIED
  926.   accept-charset %Charsets;  #IMPLIED
  927.   target      %FrameTarget;  #IMPLIED
  928.   >
  929.  
  930. <!--
  931.   Each label must not contain more than ONE field
  932.   Label elements shouldn't be nested.
  933. -->
  934. <!ELEMENT label %Inline;>
  935. <!ATTLIST label
  936.   %attrs;
  937.   for         IDREF          #IMPLIED
  938.   accesskey   %Character;    #IMPLIED
  939.   onfocus     %Script;       #IMPLIED
  940.   onblur      %Script;       #IMPLIED
  941.   >
  942.  
  943. <!ENTITY % InputType
  944.   "(text | password | checkbox |
  945.     radio | submit | reset |
  946.     file | hidden | image | button)"
  947.    >
  948.  
  949. <!-- the name attribute is required for all but submit & reset -->
  950.  
  951. <!ELEMENT input EMPTY>     <!-- form control -->
  952. <!ATTLIST input
  953.   %attrs;
  954.   %focus;
  955.   type        %InputType;    "text"
  956.   name        CDATA          #IMPLIED
  957.   value       CDATA          #IMPLIED
  958.   checked     (checked)      #IMPLIED
  959.   disabled    (disabled)     #IMPLIED
  960.   readonly    (readonly)     #IMPLIED
  961.   size        CDATA          #IMPLIED
  962.   maxlength   %Number;       #IMPLIED
  963.   src         %URI;          #IMPLIED
  964.   alt         CDATA          #IMPLIED
  965.   usemap      %URI;          #IMPLIED
  966.   onselect    %Script;       #IMPLIED
  967.   onchange    %Script;       #IMPLIED
  968.   accept      %ContentTypes; #IMPLIED
  969.   align       %ImgAlign;     #IMPLIED
  970.   >
  971.  
  972. <!ELEMENT select (optgroup|option)+>  <!-- option selector -->
  973. <!ATTLIST select
  974.   %attrs;
  975.   name        CDATA          #IMPLIED
  976.   size        %Number;       #IMPLIED
  977.   multiple    (multiple)     #IMPLIED
  978.   disabled    (disabled)     #IMPLIED
  979.   tabindex    %Number;       #IMPLIED
  980.   onfocus     %Script;       #IMPLIED
  981.   onblur      %Script;       #IMPLIED
  982.   onchange    %Script;       #IMPLIED
  983.   >
  984.  
  985. <!ELEMENT optgroup (option)+>   <!-- option group -->
  986. <!ATTLIST optgroup
  987.   %attrs;
  988.   disabled    (disabled)     #IMPLIED
  989.   label       %Text;         #REQUIRED
  990.   >
  991.  
  992. <!ELEMENT option (#PCDATA)>     <!-- selectable choice -->
  993. <!ATTLIST option
  994.   %attrs;
  995.   selected    (selected)     #IMPLIED
  996.   disabled    (disabled)     #IMPLIED
  997.   label       %Text;         #IMPLIED
  998.   value       CDATA          #IMPLIED
  999.   >
  1000.  
  1001. <!ELEMENT textarea (#PCDATA)>     <!-- multi-line text field -->
  1002. <!ATTLIST textarea
  1003.   %attrs;
  1004.   %focus;
  1005.   name        CDATA          #IMPLIED
  1006.   rows        %Number;       #REQUIRED
  1007.   cols        %Number;       #REQUIRED
  1008.   disabled    (disabled)     #IMPLIED
  1009.   readonly    (readonly)     #IMPLIED
  1010.   onselect    %Script;       #IMPLIED
  1011.   onchange    %Script;       #IMPLIED
  1012.   >
  1013.  
  1014. <!--
  1015.   The fieldset element is used to group form fields.
  1016.   Only one legend element should occur in the content
  1017.   and if present should only be preceded by whitespace.
  1018. -->
  1019. <!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>
  1020. <!ATTLIST fieldset
  1021.   %attrs;
  1022.   >
  1023.  
  1024. <!ENTITY % LAlign "(top|bottom|left|right)">
  1025.  
  1026. <!ELEMENT legend %Inline;>     <!-- fieldset label -->
  1027. <!ATTLIST legend
  1028.   %attrs;
  1029.   accesskey   %Character;    #IMPLIED
  1030.   align       %LAlign;       #IMPLIED
  1031.   >
  1032.  
  1033. <!--
  1034.  Content is %Flow; excluding a, form, form controls, iframe
  1035. --> 
  1036. <!ELEMENT button %button.content;>  <!-- push button -->
  1037. <!ATTLIST button
  1038.   %attrs;
  1039.   %focus;
  1040.   name        CDATA          #IMPLIED
  1041.   value       CDATA          #IMPLIED
  1042.   type        (button|submit|reset) "submit"
  1043.   disabled    (disabled)     #IMPLIED
  1044.   >
  1045.  
  1046. <!-- single-line text input control (DEPRECATED) -->
  1047. <!ELEMENT isindex EMPTY>
  1048. <!ATTLIST isindex
  1049.   %coreattrs;
  1050.   %i18n;
  1051.   prompt      %Text;         #IMPLIED
  1052.   >
  1053.  
  1054. <!--======================= Tables =======================================-->
  1055.  
  1056. <!-- Derived from IETF HTML table standard, see [RFC1942] -->
  1057.  
  1058. <!--
  1059.  The border attribute sets the thickness of the frame around the
  1060.  table. The default units are screen pixels.
  1061.  
  1062.  The frame attribute specifies which parts of the frame around
  1063.  the table should be rendered. The values are not the same as
  1064.  CALS to avoid a name clash with the valign attribute.
  1065. -->
  1066. <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
  1067.  
  1068. <!--
  1069.  The rules attribute defines which rules to draw between cells:
  1070.  
  1071.  If rules is absent then assume:
  1072.      "none" if border is absent or border="0" otherwise "all"
  1073. -->
  1074.  
  1075. <!ENTITY % TRules "(none | groups | rows | cols | all)">
  1076.   
  1077. <!-- horizontal placement of table relative to document -->
  1078. <!ENTITY % TAlign "(left|center|right)">
  1079.  
  1080. <!-- horizontal alignment attributes for cell contents
  1081.  
  1082.   char        alignment char, e.g. char=":"
  1083.   charoff     offset for alignment char
  1084. -->
  1085. <!ENTITY % cellhalign
  1086.   "align      (left|center|right|justify|char) #IMPLIED
  1087.    char       %Character;    #IMPLIED
  1088.    charoff    %Length;       #IMPLIED"
  1089.   >
  1090.  
  1091. <!-- vertical alignment attributes for cell contents -->
  1092. <!ENTITY % cellvalign
  1093.   "valign     (top|middle|bottom|baseline) #IMPLIED"
  1094.   >
  1095.  
  1096. <!ELEMENT table
  1097.      (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>
  1098. <!ELEMENT caption  %Inline;>
  1099. <!ELEMENT thead    (tr)+>
  1100. <!ELEMENT tfoot    (tr)+>
  1101. <!ELEMENT tbody    (tr)+>
  1102. <!ELEMENT colgroup (col)*>
  1103. <!ELEMENT col      EMPTY>
  1104. <!ELEMENT tr       (th|td)+>
  1105. <!ELEMENT th       %Flow;>
  1106. <!ELEMENT td       %Flow;>
  1107.  
  1108. <!ATTLIST table
  1109.   %attrs;
  1110.   summary     %Text;         #IMPLIED
  1111.   width       %Length;       #IMPLIED
  1112.   border      %Pixels;       #IMPLIED
  1113.   frame       %TFrame;       #IMPLIED
  1114.   rules       %TRules;       #IMPLIED
  1115.   cellspacing %Length;       #IMPLIED
  1116.   cellpadding %Length;       #IMPLIED
  1117.   align       %TAlign;       #IMPLIED
  1118.   bgcolor     %Color;        #IMPLIED
  1119.   >
  1120.  
  1121. <!ENTITY % CAlign "(top|bottom|left|right)">
  1122.  
  1123. <!ATTLIST caption
  1124.   %attrs;
  1125.   align       %CAlign;       #IMPLIED
  1126.   >
  1127.  
  1128. <!--
  1129. colgroup groups a set of col elements. It allows you to group
  1130. several semantically related columns together.
  1131. -->
  1132. <!ATTLIST colgroup
  1133.   %attrs;
  1134.   span        %Number;       "1"
  1135.   width       %MultiLength;  #IMPLIED
  1136.   %cellhalign;
  1137.   %cellvalign;
  1138.   >
  1139.  
  1140. <!--
  1141.  col elements define the alignment properties for cells in
  1142.  one or more columns.
  1143.  
  1144.  The width attribute specifies the width of the columns, e.g.
  1145.  
  1146.      width=64        width in screen pixels
  1147.      width=0.5*      relative width of 0.5
  1148.  
  1149.  The span attribute causes the attributes of one
  1150.  col element to apply to more than one column.
  1151. -->
  1152. <!ATTLIST col
  1153.   %attrs;
  1154.   span        %Number;       "1"
  1155.   width       %MultiLength;  #IMPLIED
  1156.   %cellhalign;
  1157.   %cellvalign;
  1158.   >
  1159.  
  1160. <!--
  1161.     Use thead to duplicate headers when breaking table
  1162.     across page boundaries, or for static headers when
  1163.     tbody sections are rendered in scrolling panel.
  1164.  
  1165.     Use tfoot to duplicate footers when breaking table
  1166.     across page boundaries, or for static footers when
  1167.     tbody sections are rendered in scrolling panel.
  1168.  
  1169.     Use multiple tbody sections when rules are needed
  1170.     between groups of table rows.
  1171. -->
  1172. <!ATTLIST thead
  1173.   %attrs;
  1174.   %cellhalign;
  1175.   %cellvalign;
  1176.   >
  1177.  
  1178. <!ATTLIST tfoot
  1179.   %attrs;
  1180.   %cellhalign;
  1181.   %cellvalign;
  1182.   >
  1183.  
  1184. <!ATTLIST tbody
  1185.   %attrs;
  1186.   %cellhalign;
  1187.   %cellvalign;
  1188.   >
  1189.  
  1190. <!ATTLIST tr
  1191.   %attrs;
  1192.   %cellhalign;
  1193.   %cellvalign;
  1194.   bgcolor     %Color;        #IMPLIED
  1195.   >
  1196.  
  1197. <!-- Scope is simpler than headers attribute for common tables -->
  1198. <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
  1199.  
  1200. <!-- th is for headers, td for data and for cells acting as both -->
  1201.  
  1202. <!ATTLIST th
  1203.   %attrs;
  1204.   abbr        %Text;         #IMPLIED
  1205.   axis        CDATA          #IMPLIED
  1206.   headers     IDREFS         #IMPLIED
  1207.   scope       %Scope;        #IMPLIED
  1208.   rowspan     %Number;       "1"
  1209.   colspan     %Number;       "1"
  1210.   %cellhalign;
  1211.   %cellvalign;
  1212.   nowrap      (nowrap)       #IMPLIED
  1213.   bgcolor     %Color;        #IMPLIED
  1214.   width       %Pixels;       #IMPLIED
  1215.   height      %Pixels;       #IMPLIED
  1216.   >
  1217.  
  1218. <!ATTLIST td
  1219.   %attrs;
  1220.   abbr        %Text;         #IMPLIED
  1221.   axis        CDATA          #IMPLIED
  1222.   headers     IDREFS         #IMPLIED
  1223.   scope       %Scope;        #IMPLIED
  1224.   rowspan     %Number;       "1"
  1225.   colspan     %Number;       "1"
  1226.   %cellhalign;
  1227.   %cellvalign;
  1228.   nowrap      (nowrap)       #IMPLIED
  1229.   bgcolor     %Color;        #IMPLIED
  1230.   width       %Pixels;       #IMPLIED
  1231.   height      %Pixels;       #IMPLIED
  1232.   >
  1233.  
  1234.